package net.gd.persistence;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import net.gd.domain.dbPermissionDomain;
import net.gd.domain.dbPermissionDomainExample;
import net.gd.dto.dbPermissionDto;

public interface dbPermissionDomainMapper {
    int countByExample(dbPermissionDomainExample example);

    int deleteByExample(dbPermissionDomainExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(dbPermissionDomain record);

    int insertSelective(dbPermissionDomain record);

    List<dbPermissionDomain> selectByExample(dbPermissionDomainExample example);

    dbPermissionDomain selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") dbPermissionDomain record, @Param("example") dbPermissionDomainExample example);

    int updateByExample(@Param("record") dbPermissionDomain record, @Param("example") dbPermissionDomainExample example);

    int updateByPrimaryKeySelective(dbPermissionDomain record);

    int updateByPrimaryKey(dbPermissionDomain record);
    
    dbPermissionDomain selectByParams(dbPermissionDto dbPermission);
}